/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.busControl;

import org.gstreamer.Bus;
import org.gstreamer.GstObject;
import org.gstreamer.TagList;

/**
 *
 * @author triki
 */
public class TagEvent implements Bus.TAG
{

    private String metadata;

    public TagEvent()
    {
        metadata = null;
    }

    public void tagsFound(GstObject arg0, TagList arg1)
    {
        for (String tagName : arg1.getTagNames())
        {
            for (Object tagData : arg1.getValues(tagName))
            {
                System.out.printf("[%s]=%s\n", tagName, tagData.toString());
            }
        }
    }

}
